import request from '@/utils/request'

// 查询汽车列表
export function listCharge_car_info(query) {
  return request({
    url: '/charge/charge_car_info/list',
    method: 'get',
    params: query
  })
}

// 查询汽车详细
export function getCharge_car_info(id) {
  return request({
    url: '/charge/charge_car_info/' + id,
    method: 'get'
  })
}

// 新增汽车
export function addCharge_car_info(data) {
  return request({
    url: '/charge/charge_car_info',
    method: 'post',
    data: data
  })
}

// 修改汽车
export function updateCharge_car_info(data) {
  return request({
    url: '/charge/charge_car_info',
    method: 'put',
    data: data
  })
}

// 删除汽车
export function delCharge_car_info(id) {
  return request({
    url: '/charge/charge_car_info/' + id,
    method: 'delete'
  })
}
